<template>
  <div id="app">
    <!-- <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/login">login</router-link>
    </div> -->
    <router-view />
  </div>
</template>

<script>
  //将当前App页面组件对应的Vue实例(App组件实例)导出给外界
  export default {

  }
</script>

<style lang="less">
  body,
  html {
    height: 100%;
    width: 100%;
    background-color: #f1f1f1;
  }

  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
  }

  #nav {
    padding: 30px;
  }
</style>